package com.junxonline.instant.terminal.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 终端相关参数配置类
 *
 * @author JunX
 * @date 2021-09-03
 */
@Data
@Component
@ConfigurationProperties(prefix = "terminal")
public class TerminalConfig {

    /**
     * 终端Token缓存时间(s)
     */
    private Integer terminalTokenExpireTime;

    /**
     * 终端指令缓存时间(s)
     */
    private Integer commandExpireTime;

}
